var app=getApp();
Component({
  data:{

  },
  didMount() {
    this._init();
  },
  methods:{
    // 初始化
    _init(){
      this.setData({
        orderBtns:[
          {tit:"待付款",url:"/page/order/order?tp=0",icon:"icondaifukuan"},
          {tit:"待发货",url:"/page/order/order?tp=0",icon:"icondaifahuo"},
          {tit:"待收货",url:"/page/order/order?tp=0",icon:"icondaishouhuo"},
          {tit:"待归还",url:"/page/order/order?tp=0",icon:"icondaiguihuan"},
          {tit:"已完成",url:"/page/order/order?tp=0",icon:"iconyiwancheng"}
        ],
        items:[
          {tit:"我的优惠券",icon:"iconyouhuiquan",background:"#f3877c"},
          {tit:"我的收藏",icon:"iconshoucang1",background:"#69a2e6"},
          {tit:"我的地址",icon:"iconaddress",background:"#f3877c"},
          {tit:"我的足迹",icon:"iconzuji",background:"#69a2e6"}
        ]
      })
    }
  }
});
